package com.rsy.product.dao;

import com.rsy.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author rsy
 * @email sunlightcs@gmail.com
 * @date 2022-05-01 00:16:03
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    //修改商品上架状态
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("code") Integer code);
}
